import { createApp } from "vue";
import App from "./App.vue";
import "lib-flexible/flexible";
import router from "./router";
import { Tabbar, TabbarItem, Form, Field, Icon, NavBar } from "vant";
import { Button } from "vant";
import "vant/lib/index.css"; // 全局引入样式
import "./index.css";

const app = createApp(App);

app.use(router);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Form);
app.use(NavBar)
app.use(Field);
app.use(Button); // 注册组件
app.use(Icon);
app.use(NavBar);

app.mount("#app");